#ifndef EUROPEANOPTION_H
#define EUROPEANOPTION_H

#include "PayOffBridge.h"

class EuropeanOption
{
public:
	EuropeanOption(const PayOffBridge& payoff, double expiry) : m_payoff(payoff),m_expiry(expiry){}
	double operator()(double) const;
	double getExpiry() const;

private:
	PayOffBridge m_payoff;
	double m_expiry;
};

#endif